<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0, user-scalable=0">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>添加收货地址</title>

    <!-- Bootstrap -->
    <link href="bootstrap-3.3.5-dist/css/bootstrap.css" rel="stylesheet">
    <link href="bootstrap-3.3.5-dist/css/add_address.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body style="background-color: #ededed;">
  <div class="container">
      <div class="row">
          <div class="col-md-12 add_address_list">
              <div class="add_address_listt_title">
                王大
                <span class="add_address_list_phone">15013255889</span>
                <p>广东省深圳市比克大厦2202-F</p>
              </div>
          </div>
          <div class="col-md-12 add_address_list">
              <div class="add_address_listt_title">
                王大
                <span class="add_address_list_phone">15013255889</span>
                <p>广东省深圳市比克大厦2202-F</p>
              </div>
          </div>
          <div class="col-md-12 add_address_list">
              <div class="add_address_listt_title">
                王大
                <span class="add_address_list_phone">15013255889</span>
                <p>广东省深圳市比克大厦2202-F</p>
              </div>
          </div>
          <div class="col-md-12 add_address_list1">
              <a href="add_address.html">
                <div class="add_card">
                      <div class="add_card_info">
                        <img src="images/add_card.png">
                        添加银行卡
                      </div>
                </div>
              </a>
          </div>
      </div>
  </div> 
  <!--背景灰色图层-->
  <div class="bgc"></div>
  <!--删除图层-->
  <div class="container del">
    <div class="row">
      <div class="col-md-12 delete">
      删除
      </div>
      <div class="col-md-12 delete_white">
      取消
      </div>
    </div>
  </div>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery-1.11.3.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
    <script type="text/javascript">
        $(function() { 
            $(".bgc").css("height",$(document).height());  
            // var password1 = $('.password1').val();            
        });
        /*取消按钮*/
        $(".delete_white").click(function(){
          $(".bgc").css("display","none");
          $(".del").css("display","none");
        });
        /*背景图层居中*/
        $(".add_address_list").click(function(){
          $(".bgc").css("display","block"); 
          var top = ($(window).height() - $(".del").height());
          var scrollTop = $(window).scrollTop();  
          $(".del").css( { position : 'absolute', 'top' : top + scrollTop} );    
          $(".del").css("display","block");
        });
    </script>
  </body>
</html>